A Note on Digitized Angles

نویسنده

  • Donald E. Knuth
چکیده

When I looked at them, I was sure that there must be a bug either in IDEAL or in the TROFF processor that typeset the IDEAL output, because the long shafts of the arrows did not properly bisect the angle made by the two short lines of the arrowheads. The shafts seemed to be drawn one pixel too high or too low. Chris spent many hours together with Brian Kernighan trying to find out what was wrong, but no errors could be pinned down. Eventually his thesis was printed on a high-resolution phototypesetter, and the problem became much less noticeable than it had been on the laser-printed proofs. There still was a glitch, but I decided not to hold up Chris’s graduation for the sake of a misplaced pixel. I remembered this incident at the end of 1983, when I was getting ready to write a new version of the METAFONT system for digital art [3]. I didn’t want my system to have such a flaw. But to my surprise, I learned that the problem is actually unavoidable in raster output: It is almost impossible to bisect a digitized angle exactly, except in very special circumstances. The two “halves” of the angle will necessarily appear somewhat different from each other, unless the resolution is quite high. Therefore Van Wyk (and Kernighan) were vindicated. Similar problems are bound to occur in MacDraw and in any other drawing package. For example, one of the things I noticed was the following curious fact. Consider the 45 angle that is made when a straight line segment of slope 2 comes up to a point (x0, y0) and then goes down along another line of slope 3:

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Effect of Digitized Note Annotation and Rearrangement on Remembrance

Note taking is a fundamental activity for learning, and many software tools which enable students to take digitized notes have been proposed. Digitized notes are advantageous because they can be easily edited, rearranged, and shared. Although many note-taking tools have been proposed, there has been little research to examine the effect of note annotation and rearrangement with a digitized tool...

متن کامل

Effect of Rearrangement and Annotation in Digitized Note on Remembrance

Note taking is a fundamental activity for learning, and many software tools which enable students to take digitized notes have been proposed. Digitized notes are advantageous because they can be easily edited, rearranged, and shared. Although many note-taking tools have been proposed, there has been little research to examine the effect of note annotation and rearrangement with a digitized tool...

متن کامل

Effect of Digitized Note Rearrangement on Remembrance

Note taking is a fundamental activity for learning, and many software tools which enable students to take digitized notes have been proposed. Digitized notes are advantageous because they can be easily edited, rearranged, and shared. Although many note-taking tools have been proposed, there has been little research to examine the effect of note rearrangement with a digitized tool in terms of kn...

متن کامل

Representation of a digitized surface by triangular faces

This paper proposes a triangulation method for a digitized surface whose points are located on a regular lattice. The method relies on an iterative and adaptive splitting of triangular faces of an initial polyhedral surface. Assuming a bijection between the digitized surface and its approximation, a partition of the data base is performed. The method allows the measurement of the local quality ...

متن کامل

Representation of a digitized surface by triangular faces

This paper proposes a triangulation method for a digitized surface whose points are located on a regular lattice. The method relies on an iterative and adaptive splitting of triangular faces of an initial polyhedral surface. Assuming a bijection between the digitized surface and its approximation, a partition of the data base is performed. The method allows the measurement of the local quality ...

متن کامل

مقایسه دقت تصاویر رادیوگرافی

Statement of Problem: Computer Sciences, in radiology, like other fields, is of high importance. It should also be noted that the accuracy of the technique and work conditions affects the radiographs information considerably. There for, in order to get more accurate diagnostic information, it seems necessary to investigate different digitized radiographic techniques and to compare them with the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electronic Publishing

دوره 3  شماره 

صفحات  -

تاریخ انتشار 1990